package com.wanghaoran.service;

import com.github.pagehelper.PageInfo;
import com.wanghaoran.dto.PageDTO;
import com.wanghaoran.dto.RoomInsertDTO;
import com.wanghaoran.dto.RoomPageDTO;
import com.wanghaoran.dto.RoomUpdateDTO;
import com.wanghaoran.entity.Room;
import com.wanghaoran.excel.RoomExcel;
import com.wanghaoran.vo.RoomVO;

import java.util.List;

/**
 * @author wanghaoran
 */
public interface RoomService {

    int insert(RoomInsertDTO dto);

    Room select(Long id);

    List<RoomVO> list();

    PageInfo<Room> page(RoomPageDTO dto);

    int update(RoomUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);

    List<RoomExcel> getExcelData();

}
